package com.jsyl.lwbk.business.mapper;

import com.jsyl.lwbk.business.dto.ChildDTO;
import com.jsyl.lwbk.business.domain.Child;
import com.jsyl.lwbk.business.vo.ChildVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ChildMapper {
    int insert(Child record);

    Child selectById(Long id);

    int deleteByPrimaryKey(Long id);

    int update(Child record);

    /**
     * 查询学生的基础信息
     *
     * @param childDTO
     * @return
     */
    List<ChildVO> findChildList(ChildDTO childDTO);

    List<Child> getChildListByCenterId(Long centerId);

}